<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:a4j="http://richfaces.org/a4j">

    <rich:popupPanel id="#{confirmDialogWindowID}" autosized="true" >
        <h:outputText value="#{confirmationText}" /> 
        <br/>
        <div class="modalPanelActionButtons">
            <a4j:commandButton value="#{acceptButtonText}" onclick="#{acceptEventFunction};
                    return true;" />
            <a4j:commandButton value="#{bundle.cancelButton}"
                               onclick="${rich:component(confirmDialogWindowID)}.hide();
                    return false;" style="margin-left: 5px;" />
        </div>
    </rich:popupPanel>

</ui:composition>

